/**
 * digiModularInstaller
 * 
 * installer module for Flash
 * 
 */
 
 function flash_firefox(target) {
 	this.installedVersion = getFlashVersionFF();
 	this.providedVersion = "9,0,115,0";
 	this.fullName = "Flash for Firefox";
 	//this.osRequirement = "";
 	this.install = new Array( 
 		["\\\\ca-fs1\\Installs\\Teachers\\Adobe\\install_flash_player.exe"]
 		);
 	this.uninstall = "";
 	this.installPriority = 400;
 	
 	function getFlashVersionFF() {
 		var tools = new installTools(target);
 		// we need to find the system path
 		var osPath = tools.systemInfo.OSPath;
 		// now the path must be escaped
 		 var reEscape = new RegExp("\\\\","g");
 		osPath = osPath.replace(reEscape,"\\\\");
 		// there might be other copies but this is the official location
 		return tools.wmiGetFileVersion(osPath + "\\\\System32\\\\Macromed\\\\Flash\\\\NPSWF32.dll");
 	}
 }